﻿using System.ComponentModel.DataAnnotations;

namespace EMC.VISITOR.Application;

    /// <summary>
    /// 汽車出入門禁記錄基础输入参数
    /// </summary>
    public partial class HKCrossRecordBaseInput
    {
        /// <summary>
        /// 停車庫名稱
        /// </summary>
        public virtual string? parkName { get; set; }
        
        /// <summary>
        /// 出/入
        /// </summary>
        public virtual string? roadwayName { get; set; }
        
        /// <summary>
        /// 車牌號碼
        /// </summary>
        public virtual string? plateNo { get; set; }
        
        /// <summary>
        /// 出入時間
        /// </summary>
        public virtual DateTime? corssTimeOk { get; set; }
        
        /// <summary>
        /// 是否出場
        /// </summary>
        public virtual long? vehicleOut { get; set; }
        
        /// <summary>
        /// 放行結果
        /// </summary>
        public virtual long? releaseResult { get; set; }
        
        /// <summary>
        /// 放行方式
        /// </summary>
        public virtual long? releaseWay { get; set; }
        
        /// <summary>
        /// 過車記記唯一標識
        /// </summary>
        public virtual string? crossRecordSyscode { get; set; }
        
        /// <summary>
        /// 停車庫唯一標識
        /// </summary>
        public virtual string? parkSyscode { get; set; }
        
        /// <summary>
        /// 出入口唯一標識
        /// </summary>
        public virtual string? entranceSyscode { get; set; }
        
        /// <summary>
        /// 出入口名稱
        /// </summary>
        public virtual string? entranceName { get; set; }
        
        /// <summary>
        /// 車道唯一標識
        /// </summary>
        public virtual string? roadwaySyscode { get; set; }
        
        /// <summary>
        /// 卡片號碼
        /// </summary>
        public virtual string? cardNo { get; set; }
        
        /// <summary>
        /// 圖片服務唯一標識
        /// </summary>
        public virtual string? aswSyscode { get; set; }
        
        /// <summary>
        /// 通過時間
        /// </summary>
        public virtual string? crossTime { get; set; }
        
        /// <summary>
        /// 創建時間
        /// </summary>
        public virtual string? createTime { get; set; }
        
    }

    /// <summary>
    /// 汽車出入門禁記錄分页查询输入参数
    /// </summary>
    public partial class HKCrossRecordInput : BasePageInput
    {
        /// <summary>
        /// 关键字查询
        /// </summary>
        public string SearchKey { get; set; }

            /// <summary>
            /// 停車庫名稱
            /// </summary>
            public string? parkName { get; set; }
    public string? vcompany { get; set; }
    /// <summary>
    /// 出/入
    /// </summary>
    public string? roadwayName { get; set; }
            
            /// <summary>
            /// 車牌號碼
            /// </summary>
            public string? plateNo { get; set; }
            
            /// <summary>
            /// 出入時間
            /// </summary>
            public DateTime? corssTimeOk { get; set; }
            
        /// <summary>
         /// 出入時間范围
         /// </summary>
         public List<DateTime?> corssTimeOkRange { get; set; } 
            /// <summary>
            /// 是否出場
            /// </summary>
            public long? vehicleOut { get; set; }
            
            /// <summary>
            /// 放行結果
            /// </summary>
            public long? releaseResult { get; set; }
            
            /// <summary>
            /// 放行方式
            /// </summary>
            public long? releaseWay { get; set; }
            
    }

    /// <summary>
    /// 汽車出入門禁記錄增加输入参数
    /// </summary>
    public partial class AddHKCrossRecordInput : HKCrossRecordBaseInput
    {
    }

    /// <summary>
    /// 汽車出入門禁記錄删除输入参数
    /// </summary>
    public partial class DeleteHKCrossRecordInput : BaseIdInput
    {
    }

    /// <summary>
    /// 汽車出入門禁記錄更新输入参数
    /// </summary>
    public partial class UpdateHKCrossRecordInput : HKCrossRecordBaseInput
    {
        /// <summary>
        /// Id
        /// </summary>
        [Required(ErrorMessage = "Id不能为空")]
        public long? Id { get; set; }
        
    }

    /// <summary>
    /// 汽車出入門禁記錄主键查询输入参数
    /// </summary>
    public partial class QueryByIdHKCrossRecordInput : DeleteHKCrossRecordInput
    {

    }
